package com.demo.springcloud;

import com.demo.myrule.MyselfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

@SpringBootApplication
@EnableEurekaClient
@RibbonClient(name="DEMP-PRODUCER", configuration = MyselfRule.class)
public class DemoConsumer80Application {

	public static void main(String[] args) {
		SpringApplication.run(DemoConsumer80Application.class, args);
	}

}
